package com.spic.business.plan.emergencycode.domain;

import com.spic.common.core.annotation.Excel;
import com.spic.common.core.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 应急物资编码对象 emergency_code
 *
 * @author spic
 * @date 2021-10-28
 */
@Data
public class EmergencyCode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编码id */
    @Excel(name = "编码id")
    private Long id;

    /** 当前年月日 */
    @Excel(name = "当前年月日")
    private String month;

    /** 最大序列好 */
    @Excel(name = "最大序列好")
    private String maxNumber;

    /** 最终编码 */
    @Excel(name = "最终编码")
    private String serialNumber;

    @Excel(name="应急物资编码")
    private String materials;

    public String getMaterials() {
        return materials;
    }

    public void setMaterials(String materials) {
        this.materials = materials;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMonth(String month)
    {
        this.month = month;
    }

    public String getMonth()
    {
        return month;
    }
    public void setMaxNumber(String maxNumber)
    {
        this.maxNumber = maxNumber;
    }

    public String getMaxNumber()
    {
        return maxNumber;
    }
    public void setSerialNumber(String serialNumber)
    {
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber()
    {
        return serialNumber;
    }

    @Override
    public String toString() {
        return "EmergencyCode{" +
                "id=" + id +
                ", month='" + month + '\'' +
                ", maxNumber='" + maxNumber + '\'' +
                ", serialNumber='" + serialNumber + '\'' +
                ", materials='" + materials + '\'' +
                '}';
    }
}
